[Visual Refresh] Update severity colors#8601
Merged
mgadewoll merged 9 commits intoelastic:mainfrom Apr 24, 2025
Merged
Conversation
|
This PR contains breaking changes. The opener of this pull request is asked to perform the following due diligence steps below, to assist EUI in our next Kibana upgrade:
|
939f9a4 to
403f54c
Compare
Contributor
Author
|
ℹ️ Breaking change impact: The severity token usages so far are limited because they were only recently introduced with the new Borealis color tokens. Kibana usages:
The required mapping from old to new tokens was provided here. The Kibana replacement changes were already prepared on this branch (commit) and deployed for testing here. |
- removes previous severity tokens
- adds new colors variants tokens for Neutral and Risk
- adds support for EuiPanel and related components, EuiIcon, EuiBadge
- update because of rebase alignment which actually fixed a wrong mapping for components.buttons.textColorRisk in light mode
716dc55 to
3291022
Compare
|
Preview staging links for this PR:
|
Collaborator
💚 Build Succeeded
History
cc @mgadewoll |
mgadewoll
added a commit
to mgadewoll/eui
that referenced
this pull request
Apr 28, 2025
required after elastic#8601
15 tasks
Merged
acstll
added a commit
to elastic/kibana
that referenced
this pull request
Apr 30, 2025
`101.4.0` ⏩ `102.0.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) ## Changes - Update severity colors 4c852f1 - Types fix regarding `euiTheme.colors` ddc8d2d, ba7ec4f ## Package updates ### `@elastic/eui` #### [`v102.0.0`](https://github.com/elastic/eui/releases/v102.0.0) - Added semantic severity color tokens: ([#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added semantic color tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added semantic color variants `neutral` and `risk` for the following components: ([#8601](elastic/eui#8601)) - `EuiButton` - `EuiButtonEmpty` - `EuiButtonIcon` - `EuiBadge` - `EuiIcon` - `EuiPanel` - Aligned `EuiFormControlLayoutIcons` to the top (instead of center) to improve usability in multi-line form controls like `EuiComboBox` with many selected options ([#8610](elastic/eui#8610)) **Breaking changes** - Removed numbered severity color tokens: ([#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` **Accessibility** - Fixed duplicate screen reader output on `EuiDataGrid` for single sorted header cells with actions ([#8598](elastic/eui#8598)) ### `@elastic/[email protected]` - Added semantic severity color tokens: ([#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added semantic color tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added button component tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `components.buttons.backgroundNeutral` - `components.buttons.backgroundRisk` - `components.buttons.backgroundFilledNeutral` - `components.buttons.backgroundFilledRisk` - `components.buttons.backgroundEmptyNeutralHover` - `components.buttons.backgroundEmptyRiskHover` - `components.buttons.textColorNeutral` - `components.buttons.textColorRisk` - `components.buttons.textColorFilledNeutral` - `components.buttons.textColorFilledRisk` **Breaking changes** - Removed numbered severity color tokens: ([#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` **Dependency updates** - Updated `@elastic/eui-theme-common` from `peer dependencies` to a `dependencies` ([#8606](elastic/eui#8606)) ### `@elastic/[email protected]` - Added `severity` key on `_EuiThemeConstantColors` to support tokens on `colors.severity` ([#8601](elastic/eui#8601)) - Added type for semantic severity color tokens ([#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added types for semantic color tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added types for button component tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `components.buttons.backgroundNeutral` - `components.buttons.backgroundRisk` - `components.buttons.backgroundFilledNeutral` - `components.buttons.backgroundFilledRisk` - `components.buttons.backgroundEmptyNeutralHover` - `components.buttons.backgroundEmptyRiskHover` - `components.buttons.textColorNeutral` - `components.buttons.textColorRisk` - `components.buttons.textColorFilledNeutral` - `components.buttons.textColorFilledRisk` **Breaking changes** - Removed types for numbered severity color tokens: ([#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` --------- Co-authored-by: Lene Gadewoll <[email protected]> Co-authored-by: kibanamachine <[email protected]>
kibanamachine
added a commit
to kibanamachine/kibana
that referenced
this pull request
Apr 30, 2025
`101.4.0` ⏩ `102.0.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) ## Changes - Update severity colors elastic@4c852f1 - Types fix regarding `euiTheme.colors` elastic@ddc8d2d, elastic@ba7ec4f ## Package updates ### `@elastic/eui` #### [`v102.0.0`](https://github.com/elastic/eui/releases/v102.0.0) - Added semantic severity color tokens: ([elastic#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added semantic color tokens for variants `neutral` and `risk`: ([elastic#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added semantic color variants `neutral` and `risk` for the following components: ([elastic#8601](elastic/eui#8601)) - `EuiButton` - `EuiButtonEmpty` - `EuiButtonIcon` - `EuiBadge` - `EuiIcon` - `EuiPanel` - Aligned `EuiFormControlLayoutIcons` to the top (instead of center) to improve usability in multi-line form controls like `EuiComboBox` with many selected options ([elastic#8610](elastic/eui#8610)) **Breaking changes** - Removed numbered severity color tokens: ([elastic#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` **Accessibility** - Fixed duplicate screen reader output on `EuiDataGrid` for single sorted header cells with actions ([elastic#8598](elastic/eui#8598)) ### `@elastic/[email protected]` - Added semantic severity color tokens: ([elastic#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added semantic color tokens for variants `neutral` and `risk`: ([elastic#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added button component tokens for variants `neutral` and `risk`: ([elastic#8601](elastic/eui#8601)) - `components.buttons.backgroundNeutral` - `components.buttons.backgroundRisk` - `components.buttons.backgroundFilledNeutral` - `components.buttons.backgroundFilledRisk` - `components.buttons.backgroundEmptyNeutralHover` - `components.buttons.backgroundEmptyRiskHover` - `components.buttons.textColorNeutral` - `components.buttons.textColorRisk` - `components.buttons.textColorFilledNeutral` - `components.buttons.textColorFilledRisk` **Breaking changes** - Removed numbered severity color tokens: ([elastic#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` **Dependency updates** - Updated `@elastic/eui-theme-common` from `peer dependencies` to a `dependencies` ([elastic#8606](elastic/eui#8606)) ### `@elastic/[email protected]` - Added `severity` key on `_EuiThemeConstantColors` to support tokens on `colors.severity` ([elastic#8601](elastic/eui#8601)) - Added type for semantic severity color tokens ([elastic#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added types for semantic color tokens for variants `neutral` and `risk`: ([elastic#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added types for button component tokens for variants `neutral` and `risk`: ([elastic#8601](elastic/eui#8601)) - `components.buttons.backgroundNeutral` - `components.buttons.backgroundRisk` - `components.buttons.backgroundFilledNeutral` - `components.buttons.backgroundFilledRisk` - `components.buttons.backgroundEmptyNeutralHover` - `components.buttons.backgroundEmptyRiskHover` - `components.buttons.textColorNeutral` - `components.buttons.textColorRisk` - `components.buttons.textColorFilledNeutral` - `components.buttons.textColorFilledRisk` **Breaking changes** - Removed types for numbered severity color tokens: ([elastic#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` --------- Co-authored-by: Lene Gadewoll <[email protected]> Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit ec008b0)
acstll
added a commit
to elastic/kibana
that referenced
this pull request
Apr 30, 2025
`101.4.0` ⏩ `102.0.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) >[!IMPORTANT] This PR is a direct sibling to this [upgrade PR](#219482) to `main`. The difference is that it adds a standalone EUI package with the previous "Amsterdam" theme. Apart from the theme difference, **there are no further changes added**. ## Changes - ~~Update severity colors 4c852f13f98c33e83484540a1192f4e65a8cce05~~ (not needed in `8.19`) - Types fix regarding `euiTheme.colors` e15b9cd ## Package updates ### `@elastic/eui` #### [`v102.0.0`](https://github.com/elastic/eui/releases/v102.0.0) - Added semantic severity color tokens: ([#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added semantic color tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added semantic color variants `neutral` and `risk` for the following components: ([#8601](elastic/eui#8601)) - `EuiButton` - `EuiButtonEmpty` - `EuiButtonIcon` - `EuiBadge` - `EuiIcon` - `EuiPanel` - Aligned `EuiFormControlLayoutIcons` to the top (instead of center) to improve usability in multi-line form controls like `EuiComboBox` with many selected options ([#8610](elastic/eui#8610)) **Breaking changes** - Removed numbered severity color tokens: ([#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` **Accessibility** - Fixed duplicate screen reader output on `EuiDataGrid` for single sorted header cells with actions ([#8598](elastic/eui#8598)) ### `@elastic/[email protected]` - Added semantic severity color tokens: ([#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added semantic color tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added button component tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `components.buttons.backgroundNeutral` - `components.buttons.backgroundRisk` - `components.buttons.backgroundFilledNeutral` - `components.buttons.backgroundFilledRisk` - `components.buttons.backgroundEmptyNeutralHover` - `components.buttons.backgroundEmptyRiskHover` - `components.buttons.textColorNeutral` - `components.buttons.textColorRisk` - `components.buttons.textColorFilledNeutral` - `components.buttons.textColorFilledRisk` **Breaking changes** - Removed numbered severity color tokens: ([#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` **Dependency updates** - Updated `@elastic/eui-theme-common` from `peer dependencies` to a `dependencies` ([#8606](elastic/eui#8606)) ### `@elastic/[email protected]` - Added `severity` key on `_EuiThemeConstantColors` to support tokens on `colors.severity` ([#8601](elastic/eui#8601)) - Added type for semantic severity color tokens ([#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added types for semantic color tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added types for button component tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `components.buttons.backgroundNeutral` - `components.buttons.backgroundRisk` - `components.buttons.backgroundFilledNeutral` - `components.buttons.backgroundFilledRisk` - `components.buttons.backgroundEmptyNeutralHover` - `components.buttons.backgroundEmptyRiskHover` - `components.buttons.textColorNeutral` - `components.buttons.textColorRisk` - `components.buttons.textColorFilledNeutral` - `components.buttons.textColorFilledRisk` **Breaking changes** - Removed types for numbered severity color tokens: ([#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14`
pborgonovi
pushed a commit
to elastic/kibana
that referenced
this pull request
Apr 30, 2025
`101.4.0` ⏩ `102.0.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) ## Changes - Update severity colors 4c852f1 - Types fix regarding `euiTheme.colors` ddc8d2d, ba7ec4f ## Package updates ### `@elastic/eui` #### [`v102.0.0`](https://github.com/elastic/eui/releases/v102.0.0) - Added semantic severity color tokens: ([#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added semantic color tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added semantic color variants `neutral` and `risk` for the following components: ([#8601](elastic/eui#8601)) - `EuiButton` - `EuiButtonEmpty` - `EuiButtonIcon` - `EuiBadge` - `EuiIcon` - `EuiPanel` - Aligned `EuiFormControlLayoutIcons` to the top (instead of center) to improve usability in multi-line form controls like `EuiComboBox` with many selected options ([#8610](elastic/eui#8610)) **Breaking changes** - Removed numbered severity color tokens: ([#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` **Accessibility** - Fixed duplicate screen reader output on `EuiDataGrid` for single sorted header cells with actions ([#8598](elastic/eui#8598)) ### `@elastic/[email protected]` - Added semantic severity color tokens: ([#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added semantic color tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added button component tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `components.buttons.backgroundNeutral` - `components.buttons.backgroundRisk` - `components.buttons.backgroundFilledNeutral` - `components.buttons.backgroundFilledRisk` - `components.buttons.backgroundEmptyNeutralHover` - `components.buttons.backgroundEmptyRiskHover` - `components.buttons.textColorNeutral` - `components.buttons.textColorRisk` - `components.buttons.textColorFilledNeutral` - `components.buttons.textColorFilledRisk` **Breaking changes** - Removed numbered severity color tokens: ([#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` **Dependency updates** - Updated `@elastic/eui-theme-common` from `peer dependencies` to a `dependencies` ([#8606](elastic/eui#8606)) ### `@elastic/[email protected]` - Added `severity` key on `_EuiThemeConstantColors` to support tokens on `colors.severity` ([#8601](elastic/eui#8601)) - Added type for semantic severity color tokens ([#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added types for semantic color tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added types for button component tokens for variants `neutral` and `risk`: ([#8601](elastic/eui#8601)) - `components.buttons.backgroundNeutral` - `components.buttons.backgroundRisk` - `components.buttons.backgroundFilledNeutral` - `components.buttons.backgroundFilledRisk` - `components.buttons.backgroundEmptyNeutralHover` - `components.buttons.backgroundEmptyRiskHover` - `components.buttons.textColorNeutral` - `components.buttons.textColorRisk` - `components.buttons.textColorFilledNeutral` - `components.buttons.textColorFilledRisk` **Breaking changes** - Removed types for numbered severity color tokens: ([#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` --------- Co-authored-by: Lene Gadewoll <[email protected]> Co-authored-by: kibanamachine <[email protected]>
akowalska622
pushed a commit
to akowalska622/kibana
that referenced
this pull request
May 29, 2025
`101.4.0` ⏩ `102.0.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) ## Changes - Update severity colors elastic@4c852f1 - Types fix regarding `euiTheme.colors` elastic@ddc8d2d, elastic@ba7ec4f ## Package updates ### `@elastic/eui` #### [`v102.0.0`](https://github.com/elastic/eui/releases/v102.0.0) - Added semantic severity color tokens: ([elastic#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added semantic color tokens for variants `neutral` and `risk`: ([elastic#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added semantic color variants `neutral` and `risk` for the following components: ([elastic#8601](elastic/eui#8601)) - `EuiButton` - `EuiButtonEmpty` - `EuiButtonIcon` - `EuiBadge` - `EuiIcon` - `EuiPanel` - Aligned `EuiFormControlLayoutIcons` to the top (instead of center) to improve usability in multi-line form controls like `EuiComboBox` with many selected options ([elastic#8610](elastic/eui#8610)) **Breaking changes** - Removed numbered severity color tokens: ([elastic#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` **Accessibility** - Fixed duplicate screen reader output on `EuiDataGrid` for single sorted header cells with actions ([elastic#8598](elastic/eui#8598)) ### `@elastic/[email protected]` - Added semantic severity color tokens: ([elastic#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added semantic color tokens for variants `neutral` and `risk`: ([elastic#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added button component tokens for variants `neutral` and `risk`: ([elastic#8601](elastic/eui#8601)) - `components.buttons.backgroundNeutral` - `components.buttons.backgroundRisk` - `components.buttons.backgroundFilledNeutral` - `components.buttons.backgroundFilledRisk` - `components.buttons.backgroundEmptyNeutralHover` - `components.buttons.backgroundEmptyRiskHover` - `components.buttons.textColorNeutral` - `components.buttons.textColorRisk` - `components.buttons.textColorFilledNeutral` - `components.buttons.textColorFilledRisk` **Breaking changes** - Removed numbered severity color tokens: ([elastic#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` **Dependency updates** - Updated `@elastic/eui-theme-common` from `peer dependencies` to a `dependencies` ([elastic#8606](elastic/eui#8606)) ### `@elastic/[email protected]` - Added `severity` key on `_EuiThemeConstantColors` to support tokens on `colors.severity` ([elastic#8601](elastic/eui#8601)) - Added type for semantic severity color tokens ([elastic#8601](elastic/eui#8601)) - `colors.severity.unknown` - `colors.severity.neutral` - `colors.severity.success` - `colors.severity.warning` - `colors.severity.risk` - `colors.severity.danger` - Added types for semantic color tokens for variants `neutral` and `risk`: ([elastic#8601](elastic/eui#8601)) - `colors.textNeutral` - `colors.textRisk` - `colors.backgroundBaseNeutral` - `colors.backgroundBaseRisk` - `colors.backgroundLightNeutral` - `colors.backgroundLightRisk` - `colors.backgroundFilledNeutral` - `colors.backgroundFilledRisk` - `colors.borderBaseNeutral` - `colors.borderBaseRisk` - `colors.borderStrongNeutral` - `colors.borderStrongRisk` - Added types for button component tokens for variants `neutral` and `risk`: ([elastic#8601](elastic/eui#8601)) - `components.buttons.backgroundNeutral` - `components.buttons.backgroundRisk` - `components.buttons.backgroundFilledNeutral` - `components.buttons.backgroundFilledRisk` - `components.buttons.backgroundEmptyNeutralHover` - `components.buttons.backgroundEmptyRiskHover` - `components.buttons.textColorNeutral` - `components.buttons.textColorRisk` - `components.buttons.textColorFilledNeutral` - `components.buttons.textColorFilledRisk` **Breaking changes** - Removed types for numbered severity color tokens: ([elastic#8601](elastic/eui#8601)) - `colors.vis.euiColorSeverity0` - `colors.vis.euiColorSeverity1` - `colors.vis.euiColorSeverity2` - `colors.vis.euiColorSeverity3` - `colors.vis.euiColorSeverity4` - `colors.vis.euiColorSeverity5` - `colors.vis.euiColorSeverity6` - `colors.vis.euiColorSeverity7` - `colors.vis.euiColorSeverity8` - `colors.vis.euiColorSeverity9` - `colors.vis.euiColorSeverity10` - `colors.vis.euiColorSeverity11` - `colors.vis.euiColorSeverity12` - `colors.vis.euiColorSeverity13` - `colors.vis.euiColorSeverity14` --------- Co-authored-by: Lene Gadewoll <[email protected]> Co-authored-by: kibanamachine <[email protected]>
This was referenced May 30, 2025
albertoblaz
added a commit
to elastic/kibana
that referenced
this pull request
Jun 3, 2025
## Summary Map asset criticality status in `<AssetCriticalityBadge>` component to the new color tokens in EUI Borealis ([see new pattern](https://eui.elastic.co/docs/patterns/severity/index.html)). These new color tokens were introduced through this PR: - elastic/eui#8601 ### Screenshots | | Before | After | |--------|--------|--------| | Light mode | <img width="203" alt="_before_light" src="https://github.com/user-attachments/assets/ca09f950-8cd3-42d6-b82c-2dc4c775cdab" /> | <img width="188" alt="_after_light" src="https://github.com/user-attachments/assets/168b78c7-5a0f-42d1-918d-448d8ce242ac" /> | | Dark mode | <img width="163" alt="_before_dark" src="https://github.com/user-attachments/assets/b2f89d25-578a-4e77-8033-9e3df5d7f9a6" /> | <img width="176" alt="_after_dark" src="https://github.com/user-attachments/assets/e915b0e8-8b81-4cd7-9edd-5de58f8b7d90" /> | ### Checklist - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [x] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks This is a low-risk change that only presents different colors where badges are used.
albertoblaz
added a commit
to elastic/kibana
that referenced
this pull request
Jun 4, 2025
## Summary Solves this issue in relation to Risk severity in the context of Security solution: - elastic/security-team#11516 Map risk severity color map to the new color tokens in EUI Borealis ([see new pattern](https://eui.elastic.co/docs/patterns/severity/index.html)). These new color tokens were introduced through this PR: - elastic/eui#8601 ### Checklist - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [x] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks This is a low-risk change that only presents different colors where risk severity is used.
zacharyparikh
pushed a commit
to zacharyparikh/kibana
that referenced
this pull request
Jun 4, 2025
## Summary Map asset criticality status in `<AssetCriticalityBadge>` component to the new color tokens in EUI Borealis ([see new pattern](https://eui.elastic.co/docs/patterns/severity/index.html)). These new color tokens were introduced through this PR: - elastic/eui#8601 ### Screenshots | | Before | After | |--------|--------|--------| | Light mode | <img width="203" alt="_before_light" src="https://github.com/user-attachments/assets/ca09f950-8cd3-42d6-b82c-2dc4c775cdab" /> | <img width="188" alt="_after_light" src="https://github.com/user-attachments/assets/168b78c7-5a0f-42d1-918d-448d8ce242ac" /> | | Dark mode | <img width="163" alt="_before_dark" src="https://github.com/user-attachments/assets/b2f89d25-578a-4e77-8033-9e3df5d7f9a6" /> | <img width="176" alt="_after_dark" src="https://github.com/user-attachments/assets/e915b0e8-8b81-4cd7-9edd-5de58f8b7d90" /> | ### Checklist - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [x] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks This is a low-risk change that only presents different colors where badges are used.
nickpeihl
pushed a commit
to nickpeihl/kibana
that referenced
this pull request
Jun 12, 2025
## Summary Map asset criticality status in `<AssetCriticalityBadge>` component to the new color tokens in EUI Borealis ([see new pattern](https://eui.elastic.co/docs/patterns/severity/index.html)). These new color tokens were introduced through this PR: - elastic/eui#8601 ### Screenshots | | Before | After | |--------|--------|--------| | Light mode | <img width="203" alt="_before_light" src="https://github.com/user-attachments/assets/ca09f950-8cd3-42d6-b82c-2dc4c775cdab" /> | <img width="188" alt="_after_light" src="https://github.com/user-attachments/assets/168b78c7-5a0f-42d1-918d-448d8ce242ac" /> | | Dark mode | <img width="163" alt="_before_dark" src="https://github.com/user-attachments/assets/b2f89d25-578a-4e77-8033-9e3df5d7f9a6" /> | <img width="176" alt="_after_dark" src="https://github.com/user-attachments/assets/e915b0e8-8b81-4cd7-9edd-5de58f8b7d90" /> | ### Checklist - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [x] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks This is a low-risk change that only presents different colors where badges are used.
nickpeihl
pushed a commit
to nickpeihl/kibana
that referenced
this pull request
Jun 12, 2025
## Summary Solves this issue in relation to Risk severity in the context of Security solution: - elastic/security-team#11516 Map risk severity color map to the new color tokens in EUI Borealis ([see new pattern](https://eui.elastic.co/docs/patterns/severity/index.html)). These new color tokens were introduced through this PR: - elastic/eui#8601 ### Checklist - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [x] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks This is a low-risk change that only presents different colors where risk severity is used.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes https://github.com/elastic/eui-private/issues/277
This PR adds updates to colors tokens by adding new primitive colors, new semantic tokens for "neutral" and "risk" states as well as removing previous tokens. Additionally this PR adds changes to a few components to enable the usage of the new semantic color variants "neutral" and "risk".
Important
The initial naming of "regular" and "risk" as token variants has been changed to "neutral" and "risk" to align better with the intended usage of severity and prevent potential misunderstandings of the work "regular" as kind of standard variant.
Changes
skyandorange(internal only, not exported on the theme)EuiButton,EuiButtonIcon,EuiButtonEmpty,EuiBadge,EuiIcon,EuiPanel(and any further components that inherit from these updated components)📷 Component screenshots
Amsterdam
Note
To ensure theme parity token changes have been ported to Amsterdam and the values have been manually aligned by using the available data vis colors.
QA
General checklist
Checked in mobileChecked for accessibility including keyboard-only and screenreader modesProps have proper autodocs (using@defaultif default values are missing) and playground togglesChecked Code Sandbox works for any docs examplesIf applicable, file an issue to update EUI's Figma library with any corresponding UI changes. (This is an internal repo, if you are external to Elastic, ask a maintainer to submit this request)